Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODSemanticInterface


CallDisposeTokenProc

The CallDisposeTokenProc method deallocates any part-specific data structures stored in the specified token.

void CallDisposeTokenProc (in ODPart thePart, 
                           in ODOSLToken unneededToken);
thePart
A reference to the part associated with this semantic interface object.
unneededToken
A reference to the OpenDoc token being deleted.
DISCUSSION
You should override this method if your token contains any part-specific data structures. Your semantic interface should also supply this method if it implements a set of marking methods. When one of your mark tokens is passed to this method, your override of this method should unmark the objects associated with that token and deallocate any necessary marking data structures.

EXCEPTIONS
The Apple Event Manager may throw an exception if this method is unable to deallocate the specified token.

This method may throw platform-specific exceptions.

SEE ALSO
The ODOSLToken class (page 456).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help